#ifndef _H_DEF_MSG_CORE_H 
#define _H_DEF_MSG_CORE_H

#include "commdef.h"






#ifdef __cplusplus
extern "C" {
#endif 

int auth_genkey(ST_AUTH_TOKEN *pauth);
int build_sendrequest(ST_AUTH_TOKEN *pauth,void * srcbuf,size_t insize,void * outpipebuf,size_t outsize);
BOOL paser_sendrequest(void * resbuf,size_t insize,void * outsrcbuf,size_t outsize,UINT32 *lpretsize);


#ifdef __cplusplus
};
#endif 

#endif	//_H_DEF_MSG_CORE_H